package com.sg.zhui.visitor.adapter;

import android.graphics.Color;
import android.support.v7.widget.RecyclerView;
import android.widget.GridView;
import android.widget.TextView;

import com.sg.zhui.visitor.R;
import com.sg.zhui.visitor.bean.HomeCaseListBean;
import com.sg.zhui.visitor.bean.visitTypeBean;
import com.sg.zhui.visitor.widget.BaseListAdapter;
import com.sg.zhui.visitor.widget.RecyclerViewAdapter;
import com.sg.zhui.visitor.widget.ViewHolderHelper;


/**
 * Created by chenlipeng on 2018/7/11 0011
 * describe:  申请记录的适配器
 */

public class VisitTypeAdapter extends RecyclerViewAdapter<visitTypeBean> {
    public VisitTypeAdapter(RecyclerView recyclerView) {
        super(recyclerView, R.layout.visit_type_item);
    }

    @Override
    protected void fillData(ViewHolderHelper viewHolderHelper, int position, visitTypeBean model) {

        viewHolderHelper.setText(R.id.tv_name, model.getName());
    }
}
